#!/bin/sh
echo "You'll need to add line like"
echo "echo \"ftp stream tcp nowait root /opt/sbin/vsftpd /opt/etc/vsftpd.conf\" >>/etc/inetd.conf"
echo "to your /unslung/rc.xinetd file -- see the wiki at http://www.nslu2-linux.org for more info"

mkdir -p /usr/share/empty

if [ -f vsftpd.conf ] ; then
	cp vsftpd.conf /opt/etc
elif [ -f vsftpd.vsftpd.conf ] ; then
	cp vsftpd.vsftpd.conf /opt/etc/vsftpd.conf
fi
